package com.cskaoyan.mapper;

import com.cskaoyan.bean.GoodsToTopic;
import com.cskaoyan.bean.GoodsToTopicExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsToTopicMapper {
    long countByExample(GoodsToTopicExample example);

    int deleteByExample(GoodsToTopicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GoodsToTopic record);

    int insertSelective(GoodsToTopic record);

    List<GoodsToTopic> selectByExampleWithBLOBs(GoodsToTopicExample example);

    List<GoodsToTopic> selectByExample(GoodsToTopicExample example);

    GoodsToTopic selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GoodsToTopic record, @Param("example") GoodsToTopicExample example);

    int updateByExampleWithBLOBs(@Param("record") GoodsToTopic record, @Param("example") GoodsToTopicExample example);

    int updateByExample(@Param("record") GoodsToTopic record, @Param("example") GoodsToTopicExample example);

    int updateByPrimaryKeySelective(GoodsToTopic record);

    int updateByPrimaryKeyWithBLOBs(GoodsToTopic record);

    int updateByPrimaryKey(GoodsToTopic record);
}